package com.example.demo.service;
import com.alibaba.fastjson.JSONObject;
import com.example.demo.entity.User;
//import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserService {
    public List<JSONObject> userlist();//用户列表
    User queryById(String identity_id);//查询用户根据工号
    User queryPwd(String pwd);//   查询用户根据pwd
    User info(String identity_id);

    void authUser(int id,int role);//用户权限提升
    User getUser(String identity_id);//根据工号查询用户

    User getUserById(int id);//根据id查询用户
    String updateUser(User user);//修改用户
     int insertUser(User user);
    int deleteid(int id);


//    List<User> findUserList();//pagehelper

}